package com.aliyun.messagemgt.dto.query;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * 查询详情返回类
 * @author
 * @date
 */
public class SceneTemplateResult {

    private Integer sceneTemplateId;

    private String ownerDept;

    private String templateName;

    private String templateDescription;

    private String dsName;

    private Integer dsId;

    private String owner;

    private Byte dsType;

    private String ownerDeptName;

    private String userCreate;

    /**
     * 已使用 未使用
     */
    private Integer inService;

    /**
     * 数据权限  0 可见 1 具有完全的操作权（为管理员）
     */
    private Integer dataPrivilege;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date timeCreate;

    public String getOwnerDept() {
        return ownerDept;
    }

    public void setOwnerDept(String ownerDept) {
        this.ownerDept = ownerDept;
    }

    public Integer getSceneTemplateId() {
        return sceneTemplateId;
    }

    public void setSceneTemplateId(Integer sceneTemplateId) {
        this.sceneTemplateId = sceneTemplateId;
    }

    public String getTemplateName() {
        return templateName;
    }

    public void setTemplateName(String templateName) {
        this.templateName = templateName;
    }

    public String getTemplateDescription() {
        return templateDescription;
    }

    public void setTemplateDescription(String templateDescription) {
        this.templateDescription = templateDescription;
    }

    public String getDsName() {
        return dsName;
    }

    public void setDsName(String dsName) {
        this.dsName = dsName;
    }

    public String getUserCreate() {
        return userCreate;
    }

    public void setUserCreate(String userCreate) {
        this.userCreate = userCreate;
    }

    public Date getTimeCreate() {
        return timeCreate;
    }

    public void setTimeCreate(Date timeCreate) {
        this.timeCreate = timeCreate;
    }

    public Integer getDsId() {
        return dsId;
    }

    public void setDsId(Integer dsId) {
        this.dsId = dsId;
    }

    public Byte getDsType() {
        return dsType;
    }

    public void setDsType(Byte dsType) {
        this.dsType = dsType;
    }

    public String getOwnerDeptName() {
        return ownerDeptName;
    }

    public void setOwnerDeptName(String ownerDeptName) {
        this.ownerDeptName = ownerDeptName;
    }

    public Integer getDataPrivilege() {
        return dataPrivilege;
    }

    public void setDataPrivilege(Integer dataPrivilege) {
        this.dataPrivilege = dataPrivilege;
    }

    public String getOwner() {
        return owner;
    }

    public void setOwner(String owner) {
        this.owner = owner;
    }

    public Integer getInService() {
        return inService;
    }

    public void setInService(Integer inService) {
        this.inService = inService;
    }

    @Override
    public String toString() {
        return "SceneTemplateResult{" +
                "sceneTemplateId=" + sceneTemplateId +
                ", ownerDept='" + ownerDept + '\'' +
                ", templateName='" + templateName + '\'' +
                ", templateDescription='" + templateDescription + '\'' +
                ", dsName='" + dsName + '\'' +
                ", dsId=" + dsId +
                ", owner='" + owner + '\'' +
                ", dsType=" + dsType +
                ", ownerDeptName='" + ownerDeptName + '\'' +
                ", userCreate='" + userCreate + '\'' +
                ", inService=" + inService +
                ", dataPrivilege=" + dataPrivilege +
                ", timeCreate=" + timeCreate +
                '}';
    }
}
